Open
Conversation
| cluster.log.debug( | ||
| f"{host}: Reboot required (detected via needs-restarting -r)" | ||
| ) | ||
| except GroupResultException: |
Collaborator
There was a problem hiding this comment.
Can we mock this in tests? I am not sure about always ignoring GroupResultException
| package_name: 'iptables-nft' | ||
| rhel10: | ||
| containerd: {} | ||
| haproxy: |
Collaborator
There was a problem hiding this comment.
Need to check HAProxy/keepalived versions on rhel10
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
Background
While validating Kubemarine on Rocky Linux 10.1, an issue was observed during the
prepare.system.modprobestage:prepare.package_manager.manage_packagesbr_netfilter) are unavailablemodprobeSolution
Changes Introduced
1. Rocky Linux 10.1 Support
rhel10OS family where applicable2. Kernel Upgrade / Reboot Detection
needs-restarting -rto determine if reboot is required3. Reboot Scheduling
cluster.schedule_cumulative_point(system.reboot_nodes)4. Additional Reboot if required
prepare.system.modprobeto perform an additional reboot if required.How to apply
Test Cases
TestCase 1
Steps:
Results:
TestCase 2: Kernel upgrade during installation (Rocky Linux 10.1)
Steps:
prepare.package_manager.manage_packages, allow kernel packages to upgradeprepare.system.modprobeResults:
modprobefailure due to missing kernel modulesmodprobesucceedsChecklist
Unit tests
Indicate new or changed unit tests and what they do, if any.